import Layout from '@/layout'

export default {
  path: '/department',
  name: 'department',
  component: Layout,
  children: [
    {
      path: '', // path为空表示默认子路由，即/department既表示一级路由，也表示二级路由
      component: () => import('@/views/department'),
      name: 'department',
      meta: {
        // 路由元数据，用于 侧边栏菜单显示
        title: '组织架构', // 侧边栏菜单显示的标题
        icon: 'tree' // 侧边栏菜单显示的图标
      }
    }
  ]
}
